<h2 style="background-color:#368EE0; color:white; font-size:20px; padding:5px;">Bank Lists</h2>

<h1></h1>
<p align="right"><a href="<?php echo site_url('settings/bank/create_bank');?>">Add Bank</a></p>
<!--<div id="infoMessage"><?php echo $message;?></div>-->

<table class="table table-striped table-bordered" width="100%" id="example">
	<thead>
    <tr>
		<th>Bank Name</th>
		<th>Address</th>
        <th>Action</th>
	</tr>
    </thead>
	<?php foreach ($users as $user):?>
		<tr>
			<td><?php echo $user->name;?></td>
			<td><?php echo $user->address;?></td>
        	<td><?php echo anchor("settings/bank/edit_bank/".$user->id, 'Edit') ;?>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           <a href="<?php echo site_url('settings/bank/delete_bank/').'/'.$user->id;?>" onclick="return confirm('Are you sure you want to DELETE this Tax ??')">Delete</a>
          </td>
		</tr>
	<?php endforeach;?>
</table>

<!--<p><a href="<?php echo site_url('auth/create_user');?>">Create a new user</a> | <a href="<?php echo site_url('auth/create_group');?>">Create a new group</a>
<a href="<?php echo site_url('auth/logout');?>">Logout</a>
</p>-->
